package com.im.service.contract.dao;

import java.util.List;
import java.util.Map;

import com.im.service.dto.ContractClause;
import org.apache.ibatis.annotations.Mapper;

import com.im.service.dto.Contract;
import com.im.service.model.ContractProjectInfoVo;

@Mapper
public interface IContractQueryDAO {
	/**
	 * 查询合同列表
	 * 
	 * @param param
	 * @return
	 */
	public List<Contract> queryContractList(Map<String, Object> param);

	/**
	 * 查询合同详情
	 * 
	 * @param param
	 * @return
	 */
	public Contract queryContractDetail(Contract contract);

	public ContractProjectInfoVo queryNoticeAndPurchasePlanByProjectId(Map<String, Object> param);

	public ContractProjectInfoVo queryNoticeByPurchPlanId(Map<String, Object> param);

	public List<ContractClause> queryContractClauseList(String contractId);
}
